package seven.rascontrol;

import android.app.Activity;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;

public class RepositorioRASControl extends Activity {
	
	protected SQLiteDatabase db;
	
	private static final String NOME_BANCO = "rascontrol";
	private static final String TAG = "RepositorioRASControl";
	
	public RepositorioRASControl(Context context) {
		db = context.openOrCreateDatabase(NOME_BANCO, Context.MODE_PRIVATE, null);
	}
	
	public synchronized void fechar() {
		if(db != null) {
			db.close();
		}
	}
	

}
